package com.htdst.tasktracking.domain;

import java.util.Date;
import java.util.List;

import com.htdst.tasktracking.domain.base.IDomain;

public class Task implements IDomain
{
	private static final long	serialVersionUID	= -4180378434971254140L;

	private int					id;
	private String				mi;
	private String				title;
	private Status				status;
	private Priority			priority;
	private Feature				feature;
	private Date				createDate;
	private User				reporter;
	private String				description;
	private User				assignee;
	private String				resolution;
	private Date				lastUpdateDate;
	private User				lastUpdater;
	private User				tester;

	private List<Comment>		comments;

	public int getId()
	{
		return id;
	}

	public void setId(int id)
	{
		this.id = id;
	}

	public String getMi()
	{
		return mi;
	}

	public void setMi(String mi)
	{
		this.mi = mi;
	}

	public String getTitle()
	{
		return title;
	}

	public void setTitle(String title)
	{
		this.title = title;
	}

	public Status getStatus()
	{
		return status;
	}

	public void setStatus(Status status)
	{
		this.status = status;
	}

	public Priority getPriority()
	{
		return priority;
	}

	public void setPriority(Priority priority)
	{
		this.priority = priority;
	}

	public Feature getFeature()
	{
		return feature;
	}

	public void setFeature(Feature feature)
	{
		this.feature = feature;
	}

	public Date getCreateDate()
	{
		return createDate;
	}

	public void setCreateDate(Date createDate)
	{
		this.createDate = createDate;
	}

	public User getReporter()
	{
		return reporter;
	}

	public void setReporter(User reporter)
	{
		this.reporter = reporter;
	}

	public String getDescription()
	{
		return description;
	}

	public void setDescription(String description)
	{
		this.description = description;
	}

	public User getAssignee()
	{
		return assignee;
	}

	public void setAssignee(User assignee)
	{
		this.assignee = assignee;
	}

	public String getResolution()
	{
		return resolution;
	}

	public void setResolution(String resolution)
	{
		this.resolution = resolution;
	}

	public Date getLastUpdateDate()
	{
		return lastUpdateDate;
	}

	public void setLastUpdateDate(Date lastUpdateDate)
	{
		this.lastUpdateDate = lastUpdateDate;
	}

	public User getLastUpdater()
	{
		return lastUpdater;
	}

	public void setLastUpdater(User lastUpdater)
	{
		this.lastUpdater = lastUpdater;
	}

	public User getTester()
	{
		return tester;
	}

	public void setTester(User tester)
	{
		this.tester = tester;
	}

	public List<Comment> getComments()
	{
		return comments;
	}

	public void setComments(List<Comment> comments)
	{
		this.comments = comments;
	}

}
